(game "Lewthwaite's Game" (players 2) (equipment { (board (square 5) use:Vertex) (piece "Ball" Each (move Slide)) }) (rules (start { (place "Ball1" (sites Phase 1)) (place "Ball2" (difference (sites Phase 0) (sites Centre))) }) (play (forEach Piece)) (end ("BlockWin")) ) ) //------------------------------------------------------------------------------ (metadata (info { (description "This blocking game is played on a 5x5.") (rules "TURNS - At each turn, each player slides (vertically or horizontally) a stone into the only empty cell. GOAL - Wins the player who made the last move.") (id "1807") (source "www.di.fc.ul.pt") (version "1.3.12") (classification "board/space/blocking") (author "G. Lewthwaite") (credit "Eric Piette") } ) (graphics { (show Edges Diagonal (colour Hidden)) (board Background image:"square.svg" fillColour:(colour 223 178 110) edgeColour:(colour 223 178 110) scale:1.4) (board Colour OuterEdges (colour Black)) (board Colour InnerEdges (colour Black)) (board Colour OuterVertices (colour Hidden)) (board Colour InnerVertices (colour Hidden)) (show Symbol "disc" (sites Corners) fillColour:(colour Black) edgeColour:(colour Black) scale:0.3) }) (ai "Lewthwaite's Game_ai" ) )